function paintShape(opts) {
    console.log('x coordinate at', opts.xPos);
}
console.log("Hello world!");
var shape = getShape();
paintShape({ shape: shape });
paintShape({ shape: shape, xPos: 100 });
paintShape({ shape: shape, yPos: 100 });
paintShape({ shape: shape, xPos: 100, yPos: 100 });
